﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using S3System.BusinessEntities;
using S3System.BusinessLogic.CRM;
using System.ServiceModel;

namespace S3System.ServiceProxies
{
    public class BCCustomerQueries : ClientBase<BusinessLogic.CRM.IBCCustomerQueries>, IBCCustomerQueries
    {

        #region IBCCustomerQueries Members

        public IEnumerable<BusinessEntities.Customer> GetAll()
        {
            return base.Channel.GetAll();
        }

      
        #endregion

        #region IBCCustomerQueries Members


        public string QueryCustomers()
        {
            return base.Channel.QueryCustomers();
        }

        #endregion

        #region IBCCustomerQueries Members


        public string QueryCustomers(QueryCustomerOptions options = QueryCustomerOptions.getAll, string name = null, DateTime? birthDate = null)
        {
            return  base.Channel.QueryCustomers(options, name, birthDate); 
        }

        #endregion

        #region IBCCustomerQueries Members


        public string ValidateConfiguration()
        {
            return base.Channel.ValidateConfiguration();
        }

        #endregion
    }
}
